package com.rinlink.jbcodec.creator.codec;


import com.rinlink.jbcodec.context.CreatorContext;
import com.rinlink.jbcodec.transform.Transform;

public interface CodecCreator<T> {

    Transform<byte[]> createEncode(int index, CreatorContext ctx);

    Transform<T> createDecode(int index,CreatorContext ctx);

}
